import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'
const serviceName = '/sjsk-clinicmanage-service/sjsk'
/*-----------结案评估-----------*/
const addClosureEvalByCid = (params) => postAction(`${serviceName}/ce/addClosureEvalByCid`, params)
const cancel = (params) => postAction(`${serviceName}/ce/cancel`, params)
const getPersons = (params) => postAction(`${serviceName}/ce/getPersons`, params)
const exportCeList = (params) => downFile(`${serviceName}/ce/exportCeList`, params, 'post')
const exportDoneCeList = (params) => downFile(`${serviceName}/ce/exportDoneCeList`, params, 'post')
const getCePersonById = (params) => postAction(`${serviceName}/ce/getCePersonById`, params)
const doneCePersons = (params) => postAction(`${serviceName}/ce/doneCePersons`, params)
const getDoneCePersonInfo = (params) => getAction(`${serviceName}/ce/getDoneCePersonInfo`, params)
const sjskryqmjds = (params) => getAction(`/sjsk-clinicmanage-service/report/sjskryqmjds/${params}`)
export {
  addClosureEvalByCid,
  cancel,
  getPersons,
  exportCeList,
  exportDoneCeList,
  getCePersonById,
  doneCePersons,
  getDoneCePersonInfo,
  sjskryqmjds
}
